package service;

import dao.GradeMapper;
import org.springframework.stereotype.Service;
import pojo.Grade;

import java.util.List;
@Service
public class GradeServiceImpl implements GradeService{
    private GradeMapper gradeMapper;
    public List<Grade> allGrade() {
       List<Grade> all= gradeMapper.allGrade();
        return all;
    }

    public void setGradeMapper(GradeMapper gradeMapper) {
        this.gradeMapper=gradeMapper;
    }
}
